You can create customized
templates to use in the Publish to Web wizard by modifying one of
the Publish to Web template (PWT) files provided. Use any HTML editor
or text editor.
To
create a custom template, add or modify any of the following elements:
- Images
- Text
- Hyperlinks
- Color
- Title
- Video, animation, and so on
There are four default
Publish to Web templates that you can customize:
- Array of Thumbnails. Creates
a web page containing an array of thumbnail images.
- Array Plus Summary. Creates
a web page containing an array of thumbnail images and summary information
about each image.
- List of Drawings. Creates
a web page containing a list of drawings and an image frame.
- List Plus Summary. Creates
a web page containing a list of drawings, an image frame, and summary
information about a selected image.
NoteYou must be familiar
with HTML syntax to customize the Publish to Web templates.
You can make changes
or additions to the look and feel of a template, but you cannot
change the arrangement of images within it. For example, in the Array
of Thumbnails template, the images are presented across
the page in rows. You cannot alter the presentation of the images,
but you can wrap text and graphics around the table of images.
WarningTo ensure that you
do not overwrite the default Publish to Web template files, back
up those files before you make any changes to them.
To create quick access
to the Publish to Web templates
- In the Options dialog box, Files tab,
click the plus sign (+) next to Template Settings. Then click the
plus sign next to Drawing Template File Location.
- Move the cursor to the path name that
is displayed and click inside it, and press F2, and press CTRL+C
to copy it.
- Click OK or Cancel to close the Options
dialog box.
- In the Select File dialog box, right-click
an empty area in the vertical panel on the left side, and click
Add on the shortcut menu.
- Enter a name in the Item name box (for
example, Templates).
- Press CTRL+V to paste the path into the
Item Path box, and click OK.
You can now access the Template folders by clicking
the button in the left panel of the Select File dialog box.
To customize a Publish
to Web template
-
See
To create quick access to the Publish to Web templates.
- Double-click the PTWTemplates folder
to open it. The following folders are displayed. Each contains a
Publish to Web template and preview images (BMP) that you see when
you run the Publish to Web wizard.
- Template1. Contains the Array
of Thumbnails template and a preview image
- Template2. Contains the Array
Plus Summary template, a preview image, and HTML frames
- Template3. Contains the List
of Drawings template, a preview image, and HTML frames
- Template4. Contains the List
Plus Summary template, a preview image, and HTML frames
- Right-click the folder you want to use,
and click Copy.
- Press ALT+2, right-click the PTWTemplates folder,
and click Paste.
- Reopen the PTWTemplates folder,
and right-click the new folder and rename it.
- Right-click the new folder and click
Open to display its contents.
- Rename the Publish to Web template (PWT)
file with an .htm or .html file extension.
- Open the template file in an HTML editor
or a text editor.
The template file contains
comments that help you determine which areas of the code you can
modify to create your new web page.
- Review the comments and make changes
to the parts of the template you want to customize.
- Save the template with a .pwt file extension.
Make sure you save the file to the template folder you created in
step 3.
NoteEach template folder
can contain only one PWT file. If you create a new PWT file, make
sure you delete any other PWT files that exist in the same folder.
When you run the Publish to Web wizard, the
new template is displayed in the list of templates.
CommandsPUBLISHTOWEB
Creates HTML pages that
include images of selected drawings.